﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ODetails.aspx.cs" Inherits="ODetils" MasterPageFile="~/admin/MasterPage2.master" culture="auto" meta:resourcekey="PageResource1" uiculture="auto" %>


<%@ Register assembly="AjaxControlToolkit" namespace="AjaxControlToolkit" tagprefix="asp" %>


<asp:Content ID="Content1" runat="server"   contentplaceholderid="ContentPlaceHolder1"> <!-- Contenedor Principal -->

        
    <table cellpadding="0" cellspacing="0" align="left" bgcolor="White" width="1050"><!-- Table principal -->
            
            
            <tr>
                <td bgcolor="#FA7E02" class="style24">&nbsp;</td>
            </tr>
            <tr>
                <td class="style24">
                    <asp:ToolkitScriptManager ID="ToolkitScriptManager1" runat="server">
                    </asp:ToolkitScriptManager>
                </td>
            </tr>
            <tr>
                <td  class="style24" align="right">
                    &nbsp;</td>
            </tr>
            <tr>
                
                <td>
                    <table class="style19">
                        <tr>
                         
                            <td class="style64">
                               <asp:Label ID="Label51" runat="server" Font-Bold="True" 
                        Font-Names="Arial Narrow" Font-Size="Large" ForeColor="#0066FF" 
                        Text="Address: "></asp:Label> <asp:Label runat="server" Text="Label" Font-Bold="True" Font-Names="Arial Narrow" 
                        Font-Size="Large" ID="Address"></asp:Label>
                        
                    <asp:ImageButton ID="bt_old" runat="server" ImageUrl="~/img/greenalert_small.png" 
                                    Width="30" />
                    
                            </td>
                            <td class="style65">
                                <% if ((RDetails & 2251799813685248) != 2251799813685248){%>
                              
                                
                                <asp:Label ID="lerrorgeneral" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                                <% }%>
                                
                            </td>
                            <td class="style66">
                                <asp:Image ID="img_cancelled" runat="server" ImageUrl="~/img/cancelledw.gif" 
                                    Width="120px" />
                            </td>
                            <td style="text-align: center">
                                <asp:Image ID="img_submitted" runat="server" ImageUrl="~/img/SubmittedGreen.gif" 
                                    Width="120px" />
                            </td>
                        </tr>
                    </table>
                  </td>
            </tr>
            <tr><!-- fila contenedora principal -->
                <td valign="top" class="style24"><!-- td contenedor principal -->

                                







<asp:TabContainer ID="TabContainer1" runat="server" ActiveTabIndex="1" Width="1100px" 

                        meta:resourcekey="TabContainer1Resource1" 
                        onactivetabchanged="TabContainer1_ActiveTabChanged">

<asp:TabPanel runat="server" HeaderText="     Order      Details      " ID="TabPanel1" Width="150px" meta:resourcekey="TabPanel1Resource1">

    <HeaderTemplate>
Details
</HeaderTemplate>

    
<ContentTemplate>
<table cellpadding="0" cellspacing="0" align="center" width="100%" border="0" 
            style="height: 715px"><!--100%  TABLA CONTENEDORA-->
    <tr>
        <td align="left" valign="top">
            <table border="0" cellpadding="0" class="style19" width="100%">
                <!-- TABLA 1 -->
<% if ((RDetails & 140737488355328) != 140737488355328){%>
                <tr>
                    <td align="left" bgcolor="#FA7E02" class="letrabold" colspan="4" 
                        style="text-align: left">
                        Property Information</td>
                <tr>
                    <td class="style60" height="24" width="90">
                        Order #</td>
                    <td class="style61" height="24">
                        <asp:TextBox ID="torder" runat="server" CssClass="txtForm" Enabled="False" 
                            Height="19px" meta:resourceKey="torderResource1" Width="150px"></asp:TextBox>

                    </td>
                    <td class="style29" height="24">&nbsp;</td>
                    <% if ((RDetails & 16) != 16){%>
                    <td align="right" class="style61" height="24">
                        <asp:LinkButton ID="lnk_editbutton" runat="server" CssClass="button2_ok" ForeColor="White" OnClick="lnk_editbutton_Click"><span>Edit Order</span></asp:LinkButton>
                    </td>
                    <%} %>
                </tr>
                <tr bgcolor="#FFFFFF">
                <% if ((RDetails & 64) != 64)
                   {%>
                        <td class="letraNegra13" width="90">Type</td>
                        <td height="24">
                            <asp:DropDownList ID="jobtype" runat="server" AutoPostBack="True" CssClass="txtForm" Enabled="False" Height="24px" OnSelectedIndexChanged="DropDownList44_SelectedIndexChanged1" Width="154px"></asp:DropDownList>
                        </td>
                <%}%>
                <% if ((RDetails & 128) != 128)
                   {%>
                        <td class="style73">Status</td>
                        <td align="right" height="24">
                            <asp:DropDownList ID="cbstatus" runat="server" AutoPostBack="True" 
                            CssClass="txtForm" Enabled="False" Height="24px" 
                            OnSelectedIndexChanged="cbstatus_SelectedIndexChanged" Width="154px"></asp:DropDownList>
                        </td>
                <%}%>
                </tr>
                <% if ((RDetails & 256) != 256)
                   {%>
                <tr>
                    <td class="letraNegra13" width="90"><asp:Panel ID="Pclient1" runat="server">Client</asp:Panel></td>
                    <td colspan="3" height="24">
                        <asp:Panel ID="Pclient2" runat="server">
                            <asp:DropDownList ID="cbclient" runat="server" AutoPostBack="True" 
                                CssClass="txtForm" Enabled="False" Height="24px" 
                                OnSelectedIndexChanged="cbclient_SelectedIndexChanged" Width="154px"></asp:DropDownList>
                        </asp:Panel>
                    </td>
                </tr>
                <%} %>
                <tr>
                <% if ((RDetails & 512) != 512)
                   {%>
                    <td class="letraNegra13" width="90">Company</td>
                    <td height="24">
                        <asp:DropDownList ID="company" runat="server" CssClass="txtForm" 
                            Enabled="False" Height="24px" meta:resourceKey="companyResource1" Width="154px"></asp:DropDownList>
                    </td>
                <%} %>
                <% if ((RDetails & 1024) != 1024)
                   {%>
                    <td class="style73">Account</td>
                    <td align="right">
                        <asp:DropDownList ID="account" runat="server" CssClass="txtForm" 
                            Enabled="False" Height="24px" meta:resourceKey="accountResource1" Width="154px"></asp:DropDownList>
                    </td>
                <%} %>
                </tr>
                <tr bgcolor="#FFFFFF">
                <% if ((RDetails & 2048) != 2048)
                   {%>
                    <td class="letraNegra13" width="84px">Order Date</td>
                    <td height="24">
                        <asp:TextBox ID="torderdate" runat="server" CssClass="txtForm" Enabled="False" 
                                            meta:resourceKey="torderdateResource1" Width="150px"></asp:TextBox>
                    </td>
                <%} %>
                <% if ((RDetails & 4096) != 4096)
                   {%>
                    <td align="left" class="letraNegra13" width="90">Order Time</td>
                    <td align="right" height="24">
                        <asp:TextBox ID="tordertime" runat="server" CssClass="txtForm" Enabled="False" 
                                            meta:resourceKey="tordertimeResource1" Width="150px"></asp:TextBox>
                        <asp:CalendarExtender ID="CalendarExtender2" runat="server" Enabled="True" 
                                            Format="MM/dd/yyyy" TargetControlID="torderdate"></asp:CalendarExtender>
                    </td>
                <%} %>
                </tr>
                <tr>
                <% if ((RDetails & 8192) != 8192)
                   {%>
                    <td class="letraNegra13" width="90px">Due Date</td>
                    <td>
                        <asp:TextBox ID="tduedate" runat="server" CssClass="txtForm" Enabled="False" Height="19px" Width="150px"></asp:TextBox>
                        <asp:CalendarExtender ID="CalendarExtender1" runat="server" Enabled="True" TargetControlID="tduedate"></asp:CalendarExtender>
                    </td>
                <%} %>
                <% if ((RDetails & 16384) != 16384)
                   {%>
                    <td class="style73">Due Time</td>
                    <td align="right">
                        <asp:Panel ID="ptime" runat="server">
                        <table align="center" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="left" >
                                    <asp:DropDownList ID="duetime" runat="server" align="left" CssClass="txtForm" Enabled="False" Height="24px" Width="80px">
                                        <asp:ListItem>Select One</asp:ListItem>
<asp:ListItem>01:00</asp:ListItem>
<asp:ListItem>02:00</asp:ListItem>
<asp:ListItem>03:00</asp:ListItem>
<asp:ListItem>04:00</asp:ListItem>
<asp:ListItem>05:00</asp:ListItem>
<asp:ListItem>06:00</asp:ListItem>
<asp:ListItem>07:00</asp:ListItem>
<asp:ListItem>08:00</asp:ListItem>
<asp:ListItem>09:00</asp:ListItem>
<asp:ListItem>10:00</asp:ListItem>
<asp:ListItem>11:00</asp:ListItem>
<asp:ListItem>12:00</asp:ListItem>
</asp:DropDownList>

                                </td>
                                    
                                <td align="right">
                                    <asp:DropDownList ID="duetimeampm" runat="server" align="right" CssClass="txtForm" Enabled="False" Font-Names="Arial Narrow" Font-Size="10pt" Height="24px" Width="60px"><asp:ListItem Text="AM" Value="AM"></asp:ListItem>
<asp:ListItem Text="PM" Value="PM"></asp:ListItem>
</asp:DropDownList>

                                </td>
                            </tr>
                        </table>
                        </asp:Panel>

                    </td>
                <%} %>
                </tr>
                <tr bgcolor="#FFFFFF">
                <% if ((RDetails & 32768) != 32768)
                   {%>
                    <td class="letraNegra13" width="90px">Street #</td>
                    <td height="24">
                        <asp:TextBox ID="tstnumber" runat="server" CssClass="txtForm" Enabled="False" 
                            Height="19px" Width="150px"></asp:TextBox>
                    </td>
                <%} %>
                <% if ((RDetails & 65536) != 65536)
                   {%>
                    <td class="style73">Street Address</td>
                    <td align="right" height="24">
                        <asp:TextBox ID="tstaddress" runat="server" CssClass="txtForm" Enabled="False" 
                            Height="19px" Width="150px"></asp:TextBox>
                    </td>
                <%} %>
                </tr>
                <tr> <% if ((RDetails & 9007199254740992) != 9007199254740992)
                   {%>
                
                    <td class="letraNegra13" width="90px">Unit</td>
                    <td height="24">
                        <asp:TextBox ID="tb_unit" runat="server" CssClass="txtForm" Width="150px" 
                            Enabled="False" Height="19px"></asp:TextBox>
                    </td>
                     <%} %>
                   <% if ((RDetails & 131072) != 131072)
                   {%>
                        <td class="letraNegra13" width="90px">
                            City</td>
                        <td height="24">
                            <asp:TextBox ID="tcity" runat="server" CssClass="txtForm" Enabled="False" 
                                Width="150px" Height="19px"></asp:TextBox>
                        </td>
                        <%} %>
                </tr>
                    <tr>
                        
                        <% if ((RDetails & 262144) != 262144)  {%>
                        <td class="style73">
                            County</td>
                        <td align="right" height="24">
                            <asp:DropDownList ID="county" runat="server" CssClass="txtForm" Enabled="False" 
                                Height="24px" meta:resourceKey="countyResource1" Width="154px">
                            </asp:DropDownList>
                        </td>
                        <%} %>
                        <% if ((RDetails & 524288) != 524288)
                   {%>
                    <td class="letraNegra13" width="90px">State</td>
                    <td lang="24">
                        <asp:DropDownList ID="state" runat="server" AppendDataBoundItems="True" 
                            AutoPostBack="True" CssClass="txtForm" DataValueField="state_id" 
                            Enabled="False" Height="23px" 
                            OnSelectedIndexChanged="fillcounties_SelectedIndexChanged" Width="154px"></asp:DropDownList>
                    </td>
                <%} %>
                    </tr>
                <tr bgcolor="#FFFFFF">
                
                <% if ((RDetails & 1048576) != 1048576)
                   {%>
                    <td class="style73">Zip</td>
                    <td align="right" height="24">
                        <asp:TextBox ID="tzip" runat="server" CssClass="txtForm" Enabled="False" 
                            Width="150px" Height="19px"></asp:TextBox>
                    </td>
                <%} %>
                </tr>
                <tr>
                <% if ((RDetails & 2097152) != 2097152)
                   {%>
                    <td bgcolor="#FFFFFF" class="style38" width="90px">Special Attributes</td>
                    <td bgcolor="#FFFFFF" height="24px" valign="middle">
                        <asp:DropDownList ID="attributes" runat="server" CssClass="txtForm" 
                            Enabled="False" Height="24px" Width="154px">
                            <asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                <%} %>
                <% if ((RDetails & 8) != 8)
                   {%>
                    <td bgcolor="#FFFFFF" valign="middle" class="style40">&nbsp;</td>
                    <td align="right" bgcolor="#FFFFFF" valign="middle">
                        <asp:LinkButton ID="lnk_uncancel" runat="server" CssClass="button_uncancelled" 
                            Enabled="False" OnClick="lnk_uncancel_Click"></asp:LinkButton>
                        <asp:ConfirmButtonExtender ID="ConfirmButtonExtender2" runat="server" 
                            ConfirmText="Are you sure the order needs to be uncancelled?" Enabled="True" 
                            TargetControlID="lnk_uncancel"></asp:ConfirmButtonExtender>
                        <asp:LinkButton ID="lnk_cancel" runat="server" CssClass="button_cancelled" 
                            Enabled="False" OnClick="lnk_cancel_Click"></asp:LinkButton>
                        <asp:ConfirmButtonExtender ID="ConfirmButtonExtender1" runat="server" 
                            ConfirmText="Are you sure the order needs to be cancelled?" Enabled="True" 
                            TargetControlID="lnk_cancel"></asp:ConfirmButtonExtender>
                    </td>
                <%} %>
                </tr>
                <% if ((RDetails & 4194304) != 4194304)
                   {%>
                <tr>
                    <td class="letraNegra13" width="90px">Comments</td>
                    <td colspan="3" width="410">
                        <asp:TextBox ID="comments" runat="server" BorderStyle="Solid" 
                             CssClass="txtForm2" Enabled="False" Height="60px" 
                            TextMode="MultiLine" Width="99%" MaxLength="2990" Font-Size="Small"></asp:TextBox>
                    </td>
                </tr>
                <%} %>
                <tr>
                    <td colspan="4">&nbsp;</td>
                </tr>
<%} %>
                <% if ((RDetails & 2) != 2)
                   {%>
                <tr align="left">
                    <td colspan="4">
                        <asp:Panel ID="Ppayment" runat="server">
                            <table border="0" cellpadding="0" class="style19" width="100%">
                                <tr>
                                    <td bgcolor="#FA7E02" class="letrabold" colspan="4" style="text-align: left" width="500px">
                                        <strong>Payment Information</strong></td>
                                </tr>
                                <tr bgcolor="White" align="left">
                                <% if ((RDetails & 8388608) != 8388608)
                                   {%>
                                    <td class="letraNegra13" width="90px">Fee($)</td>
                                    <td bgcolor="White">
                                        <asp:TextBox ID="tfee" runat="server" CssClass="txtForm2" Enabled="False" Height="19px" Width="150px"></asp:TextBox>
                                    </td>
                                <%} %>
                                <% if ((RDetails & 33554432) != 33554432)
                                   {%>
                                    <td class="letraNegra13" width="90px">Check #</td>
                                    <td>
                                        <asp:TextBox ID="tcheck" runat="server" CssClass="txtForm" Enabled="False" Height="19px" Width="150px"></asp:TextBox>
                                    </td>
                                <%} %>
                                </tr>
                                <tr bgcolor="#FFFFFF" align="left">
                                <% if ((RDetails & 16777216) != 16777216)
                                   {%>
                                    <td bgcolor="#FFFFFF" class="letraNegra13" width="90px">Paid</td>
                                    <td bgcolor="White">
                                        <asp:DropDownList ID="paid" runat="server" CssClass="txtForm" Enabled="False" Height="24px" Width="154px">
                                            <asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                <%} %>
                                <% if ((RDetails & 67108864) != 67108864)
                                   {%>
                                    <td bgcolor="#FFFFFF" class="letraNegra13" width="90px">Profit($)</td>
                                    <td bgcolor="#FFFFFF">
                                        <asp:TextBox ID="profit" runat="server" CssClass="txtForm" Enabled="False" Height="19px" Width="150px"></asp:TextBox>
                                    </td>
                                <%} %>
                                </tr>
                            </table>
                        </asp:Panel>

                    </td>
                </tr>
                <%} %>
                <% if ((RDetails & 4) != 4)
                   {%>
                <tr align="left">
                    <td colspan="4">
                        <asp:Panel ID="PpaymentPSF" runat="server">
                            <table class="style19" width="100%">
                                <tr>
                                    <td bgcolor="#9AC9F8" class="letrabold" colspan="4" style="text-align: left" 
                                        width="500px">
                                        <strong>PSF Payment Information </strong>
                                    </td>
                                </tr>
                                <tr bgcolor="White" align="left">
                                <% if ((RDetails & 134217728) != 134217728)
                                   {%>
                                    <td class="letraNegra13" width="90px">Fee($)</td>
                                    <td bgcolor="White">
                                        <asp:TextBox ID="PsfFee" runat="server" CssClass="txtForm" Enabled="False" Height="19px" Width="150px"></asp:TextBox>
                                    </td>
                                <%} %>
                                <% if ((RDetails & 536870912) != 536870912)
                                   {%>
                                    <td class="letraNegra13" width="90px">Check #</td>
                                    <td>
                                        <asp:TextBox ID="PsfCheck" runat="server" CssClass="txtForm" Enabled="False" Height="19px" Width="150px"></asp:TextBox>
                                    </td>
                                <%} %>
                                </tr>
                                <tr bgcolor="#FFFFFF" align="left">
                                <% if ((RDetails & 268435456) != 268435456)
                                   {%>
                                    <td bgcolor="#FFFFFF" class="letraNegra13" width="90px">Paid</td>
                                    <td bgcolor="White">
                                        <asp:DropDownList ID="PsfPaid" runat="server" CssClass="txtForm" Enabled="False" Height="24px" Width="154px">
                                            <asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem>
                                        </asp:DropDownList>
                                    </td>
                                <%} %>
                                <% if ((RDetails & 1073741824) != 1073741824)
                                   {%>
                                    <td bgcolor="#FFFFFF" class="letraNegra13" width="90px">Profit($)</td>
                                    <td bgcolor="#FFFFFF">
                                        <asp:TextBox ID="psfprofit" runat="server" CssClass="txtForm" Enabled="False" Height="19px" Width="150px"></asp:TextBox>
                                    </td>
                                <%} %>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                </tr>
                <%} %>
                <tr>
                    <td colspan="4">
                        &nbsp;</td>
                </tr>
                </tr>
            </table>
            <!-- CIERRE DE TABLA 1 -->
        </td>
        <td>
            <asp:Panel ID="Panel9" runat="server" Width="19px">
            </asp:Panel>

        </td>
        <td align="right" valign="top">
            <table cellpadding="0" width="100%">
                <!-- TABLA 2 -->
                <% if ((RDetails & 281474976710656) != 281474976710656){%>
                <tr align="right">
                    <td>
                        <table border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td align="left" bgcolor="#FA7E02" class="letrabold" style="text-align: left" 
                                    width="550px">
                                    Assignment Information</td>
                            </tr>
                        </table>
                        <asp:Panel ID="Pprocess" runat="server" Width="550px"  style="text-align: left" >
                        </asp:Panel>

                    </td>
                </tr>
                <%} %>
                <% if ((RDetails & 2147483648) != 2147483648)
                   {%>
                <tr align="right">
                    <td>
                        <asp:Panel ID="PFailAdd" runat="server" Width="550px">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="left" bgcolor="#FA7E02" class="letrabold" style="text-align: left" width="550px">Quality Information<% if ((RDetails & 8589934592) != 8589934592){%><asp:LinkButton ID="lnk_view_details" runat="server" CssClass="button_archive" ForeColor="White" OnClick="lnk_view_details_Click">Archive</asp:LinkButton><%} %></td>
                                </tr>
                            </table>
                            <table border="0" cellpadding="0" width="550px" cellspacing="0">
                                <tr class="letrabold"  align="left">
                                    <% if ((RDetails & 17179869184) != 17179869184)
                                       {%>
                                    <td>
                                        <table border="0" cellpadding="0" width="80px">
                                            <tr bgcolor="#9AC9F8">
                                                <td align="left" class="letrabold" style="text-align: left">Failed</td>
                                            </tr>
                                            <tr>
                                                <td align="left" class="style34">
                                                    <asp:DropDownList ID="cbfailed" runat="server" CssClass="txtForm" Enabled="False" Height="24px" OnSelectedIndexChanged="cbfailed_SelectedIndexChanged" Width="85px">
                                                    <asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem>
                                                    </asp:DropDownList>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <%} %>
                                    <% if ((RDetails & 4294967296) != 4294967296)
                                       {%>
                                    <td>
                                        <table border="0" cellpadding="0" width="463px">
                                            <tr bgcolor="#9AC9F8">
                                                <td align="left" class="letrabold" colspan="2" style="text-align: left">
                                                    <asp:Label ID="LReason" runat="server" CssClass="letrabold" Text="Reason"></asp:Label>
                                                    <% if ((RDetails & 2251799813685248) != 2251799813685248){%>
                                                    <asp:Label ID="lnofails" runat="server" CssClass="letraRojaValidacion" Text="Label" Visible="False"></asp:Label>&#160;
                                                    <asp:Label ID="lrecord" runat="server" CssClass="letraRojaValidacion" Text="Label" Visible="False"></asp:Label>&#160;
                                                    <asp:Label ID="Label20" runat="server" CssClass="letraRojaValidacion" Text="Label" Visible="False"></asp:Label>
                                                    <%} %>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="left" class="letraNegra" width="80px">
                                                    <asp:DropDownList ID="cbreason" runat="server" CssClass="txtForm" Enabled="False" Height="24px" Width="150px"></asp:DropDownList>
                                                </td>
                                            </tr>
                                        </table>
                                    </td>
                                    <%} %>
                                </tr>
                                <!-- PANEL DE FAILED *****************************************************************************************************************************  -->
                            </table>
                        </asp:Panel>

                    </td>
                </tr>
                <tr align="right">
                    <td>
                        <asp:Panel ID="PFailDetail" runat="server" Enabled="False" 
                            HorizontalAlign="Right" Visible="False" Width="550px">
                            &#160;&#160;</asp:Panel>

                    </td>
                </tr>
                <%} %>
                <% if ((RDetails & 562949953421312) != 562949953421312){%>
                <tr align="right">
                    <td>
                        <asp:Panel ID="PAppInfo" runat="server" Width="550px">
                            <table border="0" cellpadding="0" cellspacing="0">
                                <tr>
                                    <td align="left" bgcolor="#FA7E02" class="letrabold" style="text-align: left" 
                                        width="550px">
                                        Appointment Information</td>
                                </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="4" width="550">
                                <% if ((RDetails & 34359738368) != 34359738368)
                                   {%>
                                <tr>
                                    <td align="left" class="letraNegra13">Contact Information</td>
                                    <td align="left" class="letraNegra13" colspan="3">
                                        <asp:TextBox ID="contactapp" runat="server" CssClass="txtForm2" Height="38px" 
                                            MaxLength="1990" TextMode="MultiLine" Width="412px"></asp:TextBox>
                                    </td>
                                </tr>
                                <%} %>
                                <tr>
                                <% if ((RDetails & 68719476736) != 68719476736)
                                   {%>
                                    <td align="left" class="letraNegra13">
                                        <asp:CalendarExtender ID="CalendarExtender5" runat="server" Enabled="True" Format="MM/dd/yyyy" TargetControlID="dateapp"></asp:CalendarExtender>
                                        <asp:Panel ID="PAppDate1" runat="server">Appt. Date</asp:Panel>
                                    </td>
                                    <td align="left" class="letraNegra13" height="18">
                                        <asp:Panel ID="PAppDate2" runat="server"><asp:TextBox ID="dateapp" runat="server" CssClass="txtForm2" Height="18px" Width="155px"></asp:TextBox></asp:Panel>
                                    </td>
                                <%} %>
                                <% if ((RDetails & 137438953472) != 137438953472)
                                   {%>
                                    <td align="left" class="letraNegra13">
                                        <asp:Panel ID="PAppDate3" runat="server">
                                            <asp:Panel ID="PAppCoor1" runat="server">
                                                Coordinator</asp:Panel>
                                        </asp:Panel>
                                    </td>
                                    <td align="left" class="letraNegra13" height="18">
                                        <asp:Panel ID="PAppCoor2" runat="server">
                                            <asp:TextBox ID="coordinator" runat="server" CssClass="txtForm2" Height="18px" 
                                                Width="154px"></asp:TextBox>
                                        </asp:Panel>
                                    </td>
                                <%} %>
                                </tr>
                                <tr>
                                <% if ((RDetails & 274877906944) != 274877906944)
                                   {%>
                                    <td align="left" class="letraNegra13"><asp:Panel ID="PAppOut1" runat="server">Appt. Outcome</asp:Panel></td>
                                    <td align="left" class="letraNegra13" height="18">
                                        <asp:Panel ID="PAppOut2" runat="server">
                                            <asp:TextBox ID="appoutcome" runat="server" CssClass="txtForm2" Width="155px"></asp:TextBox>
                                        </asp:Panel>
                                    </td>
                                <%} %>
                                <% if ((RDetails & 549755813888) != 549755813888)
                                   {%>
                                    <td align="left" class="letraNegra13">Time</td>
                                    <td align="left" class="letraNegra13" height="18">
                                        <asp:TextBox ID="txtapptime" runat="server" CssClass="txtForm2" Width="154px"></asp:TextBox>
                                    </td>
                                <%} %>
                                </tr>
                                <% if ((RDetails & 1099511627776) != 1099511627776)
                                   {%>
                                <tr>
                                    <td align="left" class="letraNegra13">Log. Comments&nbsp;&nbsp;</td>
                                    <td align="left" class="letraNegra13" colspan="3" height="18">
                                        <asp:TextBox ID="appcomments" runat="server" CssClass="txtForm2" Height="58px" 
                                            TextMode="MultiLine" Width="412px" MaxLength="2990"></asp:TextBox>
                                    </td>
                                </tr>
                                <%} %>
                                <% if ((RDetails & 2199023255552) != 2199023255552)
                                   {%>
                                <tr>
                                    <td align="left" class="letraNegra13">Drv.&nbsp; Comments</td>
                                    <td align="left" class="letraNegra13" colspan="3" height="18">
                                        <asp:TextBox ID="drvcomments" runat="server" CssClass="txtForm2" Height="38px" 
                                            TextMode="MultiLine" Width="412px" MaxLength="2990"></asp:TextBox>
                                    </td>
                                </tr>
                                <%} %>
                            </table>
                        </asp:Panel>
                        <% if ((RDetails & 4398046511104) != 4398046511104)
                           {%>
                        <asp:Panel ID="PnlCallRecords" runat="server" Width="550px">
                            <table border="0" cellpadding="0" cellspacing="0"></table>
                            <table border="0" cellpadding="0" cellspacing="0" width="550">
                                <tr bgcolor="#9AC9F8" class="letrabold">
                                    <td align="left" class="style67" style="text-align: left">
                                        Call Records&#160; &#160;&#160;&#160;</td>
                                    <td align="left" class="style62">
                                        &#160;&#160;</td>
                                    <td style="text-align: left">
                                        &#160;
                                        <asp:Label ID="lerrorappdate" runat="server" CssClass="letraRojaValidacion" 
                                            Text="Label" Visible="False"></asp:Label>
                                    </td>
                                    <td class="style69">
                                        &#160;</td>
                                    <td class="style71">
                                        &#160;</td>
                                    <td width="140px">
                                        <asp:LinkButton ID="lnk_view2_details" runat="server" CssClass="button_archive" 
                                            ForeColor="White" OnClick="lnk_view2_details_Click">Archive</asp:LinkButton>
                                    </td>
                                </tr>
                                <tr align="left">
                                    <td align="left" class="style34">
                                        <asp:DropDownList ID="cboutcome" runat="server" Height="23px" 
                                            OnSelectedIndexChanged="cboutcome_SelectedIndexChanged" Width="140px">
                                            <asp:ListItem Selected="True" Value="Select One">Select One</asp:ListItem>
<asp:ListItem Value="Appt Scheduled">Appt Scheduled</asp:ListItem>
<asp:ListItem Value="LockBox-Combo">LockBox-Combo</asp:ListItem>
<asp:ListItem Value="Supra">Supra</asp:ListItem>
<asp:ListItem Value="Chase LockBox">Chase LockBox</asp:ListItem>
<asp:ListItem Value="Appt Tentative">Appt Tentative</asp:ListItem>
<asp:ListItem Value="CANCEL">Cancelled Appointment</asp:ListItem>
<asp:ListItem>NO ACCESS</asp:ListItem>
<asp:ListItem Value="NO ACCESSEXT">NO ACCESS - exterior pics -</asp:ListItem>
<asp:ListItem>Voicemail</asp:ListItem>
<asp:ListItem Value="Fax Number">Fax Number</asp:ListItem>
<asp:ListItem Value="Foreclosure">Foreclosure</asp:ListItem>
<asp:ListItem Value="Left Message">Left Message</asp:ListItem>
<asp:ListItem Value="Need directions from lender">Need directions from lender</asp:ListItem>
<asp:ListItem Value="Poc Out of town">POC Out of town</asp:ListItem>
<asp:ListItem Value="Poc Scheduling Appt">POC Scheduling Appt</asp:ListItem>
<asp:ListItem Value="Property Sold">Property Sold</asp:ListItem>
<asp:ListItem Value="Request callback">Request callback</asp:ListItem>
<asp:ListItem Value="Tenants Deny Access">Tenants Deny Access</asp:ListItem>
<asp:ListItem Value="Wrong Number">Wrong Number</asp:ListItem>
<asp:ListItem Value="Wrong number not MLS">Wrong number not MLS</asp:ListItem>
<asp:ListItem>See Comments</asp:ListItem>
</asp:DropDownList>
                                    </td>
                                    <td align="center" class="letraNegra13">
                                        Appointment Date</td>
                                    <td align="left" class="style71">
                                        <asp:TextBox ID="txtappdate" runat="server" Width="90px"></asp:TextBox>

                                        <asp:CalendarExtender ID="txtappdate_CalendarExtender" runat="server" 
                                            Enabled="True" Format="MM/dd/yyyy" TargetControlID="txtappdate"></asp:CalendarExtender>
                                    </td>
                                    <td align="center" class="letraNegra13">
                                        Appointment Time&#160;
                                    </td>
                                    <td align="right" class="style71">
                                        <asp:TextBox ID="txtapptimecallr" runat="server" Font-Size="X-Small" 
                                            Width="70px"></asp:TextBox>
                                    </td>
                                    <td align="right" width="100">
                                        <asp:LinkButton ID="lnk_add_details" runat="server" CssClass="button2_ok" 
                                            ForeColor="White" OnClick="lnk_add_details_Click"><span>Add</span></asp:LinkButton>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                        <%} %>

                        <asp:SqlDataSource ID="SqlDataSource4" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:BDConnectionString %>" 
                            SelectCommand="SELECT fail_id, UPPER(description) AS description FROM FAIL"></asp:SqlDataSource>
                        <asp:SqlDataSource ID="SqlDataSource1" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:BDConnectionString %>" 
                            OnSelecting="SqlDataSource1_Selecting" 
                            SelectCommand="SELECT fail_id, UPPER(description) AS description FROM FAIL"></asp:SqlDataSource>
                    </td>
                </tr>
                <% if ((RDetails & 8796093022208) != 8796093022208)
                   {%>
                <tr align="left">
                    <td>
                        <asp:Panel ID="PCallingrecords" runat="server">
                            <asp:GridView ID="gv_appointment" runat="server" CellPadding="4" 
                                EmptyDataText="* No appointment registered" Font-Names="Arial Narrow" 
                                Font-Size="Small" ForeColor="#333333" GridLines="None" HorizontalAlign="Right" 
                                OnRowDataBound="gv_AppDatatil_dataRowBound" ShowHeaderWhenEmpty="True" 
                                Width="550px">
<AlternatingRowStyle BackColor="White"></AlternatingRowStyle>
<EditRowStyle BackColor="#2461BF" Font-Names="Arial Narrow" Font-Size="Larger"></EditRowStyle>
<EmptyDataRowStyle Font-Bold="False" Font-Names="Arial Narrow" 
                                    Font-Size="Medium" ForeColor="#FF3300"></EmptyDataRowStyle>
<FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="Black"></FooterStyle>
<HeaderStyle BackColor="#9AC9F8" Font-Bold="False" Font-Names="Arial Narrow" 
                                    Font-Size="Small" ForeColor="White" HorizontalAlign="Left"></HeaderStyle>
<PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center"></PagerStyle>
<RowStyle BackColor="#EFF3FB"></RowStyle>
<SelectedRowStyle BackColor="#D1DDF1" Font-Bold="True" ForeColor="#333333"></SelectedRowStyle>
                            </asp:GridView>
                        </asp:Panel>
                    </td>
                </tr>
                <%} %>
<%} %>
                <tr>
                    <td>
                        <asp:TextBox ID="appshe" runat="server" Visible="False"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:SqlDataSource ID="SqlDataSource3" runat="server" 
                            ConnectionString="<%$ ConnectionStrings:BDConnectionString %>" 
                            SelectCommand="SELECT fail_id, UPPER(description) AS description FROM FAIL"></asp:SqlDataSource>

                    </td>
                </tr>
                <tr align="right">
                    <td>
                        <asp:Panel ID="Panel1" runat="server" HorizontalAlign="Right" 
                            meta:resourceKey="Panel1Resource1" Visible="False" Width="550px">
                            <table cellpadding="0" cellspacing="0" width="500">
                                <tr>
                                    <td align="left" bgcolor="#FA7E02" class="letrabold" colspan="2" 
                                        style="text-align: left">
                                        Pickup Address</td>
                                </tr>
                                <tr>
                                    <td bgcolor="#FFFFFF" class="letraNegra13">
                                        Street Number</td>
                                    <td bgcolor="#FFFFFF">
                                        <asp:TextBox ID="tpstnum" runat="server" CssClass="txtForm" Enabled="False" 
                                            meta:resourceKey="tpstnumResource1" Width="250px"></asp:TextBox>

                                    </td>
                                </tr>
                                <tr>
                                    <td class="letraNegra13">
                                        Street Address</td>
                                    <td>
                                        <asp:TextBox ID="tpstadd" runat="server" CssClass="txtForm" Enabled="False" 
                                            meta:resourceKey="tpstaddResource1" Width="250px"></asp:TextBox>

                                    </td>
                                </tr>
                                <tr>
                                    <td bgcolor="#FFFFFF" class="letraNegra13">
                                        City</td>
                                    <td bgcolor="#FFFFFF">
                                        <asp:TextBox ID="tpcity" runat="server" CssClass="txtForm" Enabled="False" 
                                            meta:resourceKey="tpcityResource1" Width="250px"></asp:TextBox>

                                    </td>
                                </tr>
                                <tr>
                                    <td class="letraNegra13">
                                        State</td>
                                    <td>
                                        <asp:DropDownList ID="cbOPState" runat="server" AutoPostBack="True" 
                                            CssClass="txtForm" Enabled="False" meta:resourceKey="cbOPStateResource1" 
                                            Width="250px"></asp:DropDownList>

                                    </td>
                                </tr>
                                <tr>
                                    <td bgcolor="#FFFFFF" class="letraNegra13">
                                        Zip</td>
                                    <td bgcolor="#FFFFFF">
                                        <asp:TextBox ID="tpzip" runat="server" CssClass="txtForm" Enabled="False" 
                                            meta:resourceKey="tpzipResource1" Width="250px"></asp:TextBox>

                                    </td>
                                </tr>
                                <tr>
                                    <td class="style20">
                                        &#160;</td>
                                    <td>
                                        &#160;</td>
                                </tr>
                            </table>
                        </asp:Panel>

                    </td>
                </tr>
            </table>
            <!-- CIERRE DE TABLA 2 -->
        </td>
    </tr>
    <tr>
        <td colspan="3" height="20px">
            &nbsp;</td>
    </tr>
    <tr align="center">
        <td colspan="3">
            <table border="0" cellpadding="0">
                <tr align="center">
                    <% if ((RDetails & 17592186044416) != 17592186044416)
                       {%>
                    <td>
                        <asp:LinkButton ID="lnk_saveclose" runat="server" CssClass="button_save" ForeColor="White" onclick="lnk_saveclose_Click"><span>Save</span></asp:LinkButton>
                    </td>
                    <%} %>
                    <% if ((RDetails & 35184372088832) != 35184372088832)
                       {%>
                    <td align="center">
                        <asp:LinkButton ID="lnk_savesubmit" runat="server" CssClass="button2_ok" onclick="lnk_savesubmit_Click"><span>Save and Close</span></asp:LinkButton>
                    </td>
                    <%} %>
                    <% if ((RDetails & 70368744177664) != 70368744177664)
                       {%>
                    <td>
                        <asp:LinkButton ID="lnk_presearch" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_presearch_Click"><span>Previous Search</span></asp:LinkButton>
                    </td>
                    <%} %>
                </tr>
               
            </table>
        </td>
    </tr>
    <tr>
        <td colspan="3">
            <asp:ModalPopupExtender ID="popupold_PopupControlExtender" runat="server" 
                DynamicServicePath="" Enabled="True"  PopupControlID="popupold"  BackgroundCssClass="FondoAplicacion"
                TargetControlID="bt_old" OkControlID="bt_popcancel"
               >
            </asp:ModalPopupExtender>
        </td>
    </tr>
    
</table><!-- CIERRE DE TABLA PRINCIPAL CONTENEDORA -->
</ContentTemplate>

</asp:TabPanel>                                    




<asp:TabPanel ID="TabPanel2" runat="server" HeaderText="Photos" meta:resourcekey="TabPanel2Resource1">

        <HeaderTemplate>
Photos
</HeaderTemplate>

        


<ContentTemplate>
<table class="style41" border="0" cellpadding="0"><tr><td valign="top" width="500"><table cellpadding="0" cellspacing="0" class="style19"><tr valign="top"><td valign="top"><table border="0" cellpadding="0" class="style19">
        <% if ((RPhotos & 524288) != 524288){%>
        <tr>
            <td class="style45" colspan="2"><asp:Panel ID="PErrorPhotos" runat="server" CssClass="letraRojaValidacion" Height="10px"><asp:Label ID="lerrortitulo" runat="server"></asp:Label><br /><asp:Label ID="lerrorphotos" runat="server" CssClass="letraRojaValidacion"></asp:Label><br /><asp:Label ID="lerrorphotos0" runat="server" CssClass="letraRojaValidacion"></asp:Label><br /><asp:Label ID="lerrorphotos1" runat="server" CssClass="letraRojaValidacion"></asp:Label><br /><asp:Label ID="lerrorphotos2" runat="server" CssClass="letraRojaValidacion"></asp:Label><br /><asp:Label ID="lerrorphotos3" runat="server" CssClass="letraRojaValidacion"></asp:Label></asp:Panel></td>
        </tr>
        <%} %>
        <% if ((RPhotos & 2) != 2){%>
        <tr>
            <td class="style45" colspan="2"><asp:Panel ID="Panel3" runat="server"><asp:LinkButton ID="lnk_edit_photos" runat="server" CssClass="button2_ok" ForeColor="White" OnClick="lnk_edit_photos_Click"><span>Edit</span></asp:LinkButton></asp:Panel></td>
        </tr>
        <%} %>
            
                <% if ((RPhotos & 128) != 128){%>
                <tr>
                    <td class="style58">Photos Received</td><td class="style59"><asp:DropDownList ID="photosreceived" runat="server" CssClass="txtForm" OnSelectedIndexChanged="photosreceived_SelectedIndexChanged" Width="150px"><asp:ListItem Value="NO">No</asp:ListItem><asp:ListItem Value="YES">Yes</asp:ListItem></asp:DropDownList>&nbsp;&nbsp;&nbsp; </td>
                </tr>
                <%} %>
                <% if ((RPhotos & 256) != 256){%> 
                <tr>
                    <td class="style57"><asp:Panel ID="PCompleteS1" runat="server">Complete Set?</asp:Panel></td><td class="style42"><asp:Panel ID="PCompleteS2" runat="server"><asp:DropDownList ID="completeset" runat="server" CssClass="txtForm" Width="150px"><asp:ListItem Value="NO">No</asp:ListItem><asp:ListItem Value="YES">Yes</asp:ListItem></asp:DropDownList></asp:Panel></td>
                </tr>
                <%} %>
                <% if ((RPhotos & 512) != 512){%> 
                <tr>
                    <td><asp:Panel ID="PDamages1" runat="server" CssClass="style57">Damages Found</asp:Panel></td><td><asp:Panel ID="PDamages2" runat="server"><asp:DropDownList ID="cbdamages" runat="server" CssClass="txtForm" Width="150px"><asp:ListItem Value="NO">No</asp:ListItem><asp:ListItem Value="YES">Yes</asp:ListItem></asp:DropDownList></asp:Panel></td>
                </tr>
                <%} %>
                <% if ((RPhotos & 1024) != 1024){%> 
                <tr>
                    <td ID="tdexterioronly" class="style57"><asp:Panel ID="PEPhotosO1" runat="server" Visible="False">Exterior Photos Only?</asp:Panel></td><td class="style42"><asp:Panel ID="PEPhotosO2" runat="server" Visible="False"><asp:DropDownList ID="typeonly" runat="server" CssClass="txtForm" Width="150px"><asp:ListItem Value="NO">No</asp:ListItem><asp:ListItem Value="YES">Yes</asp:ListItem></asp:DropDownList></asp:Panel></td>
                </tr>
                <%} %>
    <% if ((RPhotos & 2048) != 2048){%> 
    <tr>
        <td  class="style57"><asp:Panel ID="Panel13" runat="server">Exterior Driver</asp:Panel></td><td ><asp:Panel ID="Panel14" runat="server" Width="100%"><asp:TextBox ID="txtextdriver" runat="server" AutoPostBack="True" CssClass="txtForm" Enabled="False" Width="146px"></asp:TextBox><asp:Label ID="txt_extdriver_date" runat="server" CssClass="letraNegra13"></asp:Label></asp:Panel></td>
    </tr>
    <%} %>
    <% if ((RPhotos & 4096) != 4096){%> 
    <tr>
        <td class="style57"><asp:Panel ID="Panel15" runat="server">Exterior Photos Fee</asp:Panel></td><td><asp:Panel ID="Panel16" runat="server"><asp:TextBox ID="txtextdriverfee" runat="server" AutoPostBack="True" CssClass="txtForm" Enabled="False" Width="146px"></asp:TextBox><asp:RegularExpressionValidator ID="RegularExpressionValidator5" runat="server" ControlToValidate="txtextdriverfee" CssClass="letraRojaValidacion" ErrorMessage="Invalid Fee Format" ValidationExpression="(\d)*(.\d{2})?"></asp:RegularExpressionValidator></asp:Panel></td>
    </tr>
    <%} %>

      <% if ((RPhotos & 1048576) != 1048576){%> 
    <tr valign="middle">
        <td class="style57">
            <asp:Panel ID="P_driverdate1" runat="server">
                Photos Received Date</asp:Panel>
        </td><td align="left" class="style42" valign="middle">
            <asp:Panel ID="p_driverdate2" runat="server" Width="518%">
                <asp:TextBox ID="tb_driverphotosdate" runat="server" CssClass="txtForm" 
                    Width="146px"></asp:TextBox>
                 <asp:MaskedEditExtender  ID="MaskedEditExtender5" runat="server"  
    TargetControlID="tb_driverphotosdate"  
    Mask="99/99/9999"  
    MaskType="Date"  
    ErrorTooltipEnabled="True" CultureAMPMPlaceholder="" CultureCurrencySymbolPlaceholder="" 
                    CultureDateFormat="" CultureDatePlaceholder="" CultureDecimalPlaceholder="" 
                    CultureThousandsPlaceholder="" CultureTimePlaceholder="" Enabled="True" />  
                <asp:CalendarExtender ID="tb_driverphotosdate_CalendarExtender" runat="server" Format="MM/dd/yyyy"
                    TargetControlID="tb_driverphotosdate" Enabled="True">
                </asp:CalendarExtender>
                &nbsp;Time&nbsp;<asp:TextBox ID="tb_driverphotostime" runat="server" CssClass="txtForm" 
                    Width="50px"></asp:TextBox>
                       
                    <asp:Label ID="LDriverDate" runat="server" CssClass="letraRojaValidacion"></asp:Label>
            </asp:Panel>
        </td>
    </tr>
     <%} %>

    <% if ((RPhotos & 8192) != 8192){%> 
    <tr valign="middle">
        <td class="style57"><asp:Panel ID="PUpLoadBy1" runat="server">Uploaded by</asp:Panel></td><td align="left" class="style42" valign="middle"><asp:Panel ID="PUpLoadBy2" runat="server"><asp:TextBox ID="txtuploadby" runat="server" AutoPostBack="True" CssClass="txtForm" Width="146px" Enabled="False"></asp:TextBox></asp:Panel></td>
    </tr>
    <%} %>
    <% if ((RPhotos & 16384) != 16384){%> 
    <tr>
        <td class="style57"><asp:Panel ID="PDateULoad1" runat="server">Date Uploaded</asp:Panel></td><td><asp:Panel ID="PDateULoad2" runat="server"><asp:TextBox ID="dateupload" runat="server" CssClass="txtForm" OnTextChanged="dateupload_TextChanged" Width="146px" Enabled="False"></asp:TextBox><asp:CalendarExtender ID="CalendarExtender4" runat="server" Enabled="True" TargetControlID="dateupload"></asp:CalendarExtender></asp:Panel></td>
    </tr>
    <%} %>
    <% if ((RPhotos & 32768) != 32768){%> 
    <tr>
        <td class="style57"><asp:Panel ID="PTimeULoad1" runat="server">Time Uploaded</asp:Panel></td><td class="style42"><asp:Panel ID="PTimeULoad2" runat="server"><asp:TextBox ID="timeupload" runat="server" CssClass="txtForm" Width="146px" Enabled="False"></asp:TextBox></asp:Panel></td>
    </tr>
    <%} %>
    <% if ((RPhotos & 65536) != 65536){%> 
    <tr>
        <td class="style57">Comments</td><td class="style42">
        <asp:TextBox ID="commnetsphotos" runat="server" CssClass="txtForm2" 
            Height="100px" MaxLength="3000" 
            onkeyDown="checkTextAreaMaxLength(this,event,'1000');" TextMode="MultiLine" 
            Width="275px" Font-Size="Small"></asp:TextBox></td>
    </tr>
    <%} %>
</table></td></tr></table></td>

        <td align="center" valign="top">
            <% if ((RPhotos & 131072) != 131072){%> 
            <asp:Panel ID="Panel2" runat="server" HorizontalAlign="Center"><asp:Image ID="photoMain" runat="server" ImageUrl="~/img/notphoto.png" Width="500px"></asp:Image></asp:Panel>
            <%} %>
        </td>
    </tr>
    <% if ((RPhotos & 262144) != 262144){%> 
    <tr><td bgcolor="#FA7E02">&nbsp;</td><td bgcolor="#FA7E02">&nbsp;</td></tr>
    <tr><td colspan="2"><asp:Panel ID="PBoxPhoto" runat="server"></asp:Panel></td></tr>
    <%} %>

    <% if (((RPhotos & 16) != 16) && ((RPhotos & 32) != 32) && ((RPhotos & 8) != 8) && ((RPhotos & 4) != 4) && ((RPhotos & 64) != 64)) {%>
    <tr align="right"><td colspan="2" bgcolor="#FA7E02">&nbsp;</td></tr>
    <%} %>

    <tr align="right" valign="bottom"><td valign="bottom" colspan="2"><asp:ImageButton ID="btn_test" runat="server" BackColor="White" Enabled="False" 
                                                    ForeColor="White" ImageUrl="~/blank.gif" /><asp:ModalPopupExtender ID="ModalPopupExtender1" runat="server" TargetControlID="btn_test" PopupControlID="pnlDelete" BackgroundCssClass="FondoAplicacion"  DynamicServicePath="" Enabled="True"></asp:ModalPopupExtender>
                <% if ((RPhotos & 16) != 16){%>
                <asp:LinkButton ID="lnk_delete" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_delete_Click"><span>Delete</span></asp:LinkButton>
                <%} %>
                <% if ((RPhotos & 32) != 32){%>
                <asp:LinkButton ID="lnk_email" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_email_Click"><span>Save and Email</span></asp:LinkButton>
                <%} %>
                <% if ((RPhotos & 8) != 8){%>
                <asp:LinkButton ID="lnk_saveclosephoto" runat="server" CssClass="button_save2" ForeColor="White" onclick="lnk_saveclosephoto_Click"><span>Save</span></asp:LinkButton>
                <%} %>
                <% if ((RPhotos & 4) != 4){%>
                <asp:LinkButton ID="lnk_upload" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_upload_Click"><span>Upload Photos</span></asp:LinkButton>&nbsp;
                <%} %>
                
                </td></tr><tr valign="top">
                <% if ((RPhotos & 64) != 64){%>
                <td><asp:DropDownList ID="productlist" runat="server" CssClass="txtForm" Width="250px"></asp:DropDownList>
                
                <asp:LinkButton ID="lnk_addnew_photos" runat="server" CssClass="button3_ok" ForeColor="White" OnClick="lnk_addnew_photos_Click"><span>Add New</span></asp:LinkButton>
                <asp:RadioButtonList ID="rblist_addphoto" runat="server" RepeatColumns="2">
                        <asp:ListItem Value="1">1X1</asp:ListItem>
                        <asp:ListItem Selected="True" Value="4">1X4</asp:ListItem>
                    </asp:RadioButtonList>
                </td>
                <%} %>
                    <td><asp:Panel ID="pnlDelete" runat="server"  Width="333px" CssClass="popup"><table width="300"><tr><td class="stackedTabTitle" colspan="4">Enter a valid address mail to send photos</td></tr><tr><td>&#160;</td><td>&#160;</td><td style="text-align: center"><asp:TextBox ID="emailowner" runat="server" CssClass="txtForm" Width="200px"></asp:TextBox><br /><asp:Label ID="lerrormail" runat="server" CssClass="letraRojaValidacion" 
                                                    Text="Label" Visible="False"></asp:Label></td><td>&#160;</td></tr><tr><td>&#160;</td><td>&#160;</td><td><asp:LinkButton ID="send" runat="server" CssClass="button2_ok" 
                ForeColor="White" onclick="send_Click"><span>Send</span></asp:LinkButton></td><td>&#160;</td></tr></table></asp:Panel></td></tr><tr><td>&nbsp;</td><td>&nbsp;</td></tr></table>
</ContentTemplate>
                                    



</asp:TabPanel>




<asp:TabPanel ID="TabPanel3" runat="server" HeaderText="Comps" meta:resourcekey="TabPanel3Resource1">

                             
        <HeaderTemplate>
Comps
</HeaderTemplate>

        
<ContentTemplate>
<table cellpadding="0" cellspacing="0" border="0" align="center" width="100%"><tr><td valign="top"><!-- INICIO TABLA 1 --><table border="0" cellpadding="0" class="style19" width="500px" >
<% if ((RComps & 34359738368) != 34359738368){%>
    <tr><td align="left" bgcolor="#FA7E02" class="letrabold" colspan="5" style="text-align:left">Process Info<% if ((RComps & 16) != 16){%><asp:LinkButton ID="lnk_view_comps" runat="server" CssClass="button_archive" ForeColor="White" OnClick="lnk_view_comps_Click">Archive</asp:LinkButton><%} %></td></tr>
    <tr>
        <td><% if ((RComps & 4) != 4){%><asp:Label ID="Label1" runat="server" class="letraNegra13" Text="Order Processed"></asp:Label><%} %></td>
        <td><% if ((RComps & 4) != 4){%><asp:DropDownList ID="cbordproc" runat="server" CssClass="txtForm" Width="132px"><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList><%} %></td>
        <td><asp:Label ID="ldatecomp" runat="server" CssClass="letraNegra13"></asp:Label>&nbsp;</td>
        <% if ((RComps & 2) != 2){%><td align="right"><asp:LinkButton ID="lnk_edit_comps" runat="server" CssClass="button2_ok" ForeColor="White" onclick="lnk_edit_comps_Click"><span>Edit</span></asp:LinkButton></td><%} %>
    </tr>
    <tr>
        <td><% if ((RComps & 8) != 8){%><asp:Label ID="Label2" runat="server" class="letraNegra13" Text="Processed By"></asp:Label><%} %></td>
        <td><% if ((RComps & 8) != 8){%><asp:DropDownList ID="cbproc" runat="server" CssClass="txtForm" Width="132px"></asp:DropDownList><%} %></td>
        <td><asp:Label ID="ltimecomp" runat="server" CssClass="letraNegra13"></asp:Label></td>
        <td><% if ((RComps & 549755813888) != 549755813888){%><asp:Label ID="lerrorcomps" runat="server" CssClass="letraRojaValidacion"></asp:Label><%} %></td>
    </tr>
<%} %>
<% if ((RComps & 137438953472) != 137438953472){%>
    <tr><td align="left" bgcolor="#FA7E02" class="letrabold" colspan="5" style="text-align:left">Subject Characteristics<% if ((RComps & 2097152) != 2097152){%><asp:LinkButton ID="lnk_copysub" runat="server" CssClass="button_archive" onclick="lnk_copysub_Click">Copy</asp:LinkButton><%} %></td></tr>
    <tr>
        <% if ((RComps & 64) != 64){%>
        <td><asp:Label ID="Label21" runat="server" CssClass="letraNegra13" Text="Listed"></asp:Label></td><td><asp:DropDownList ID="cblisted" runat="server" AutoPostBack="True" CssClass="txtForm" OnSelectedIndexChanged="cblisted_SelectedIndexChanged" Width="132px"><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
        <%} %>
        <% if ((RComps & 32768) != 32768){%>
        <td><asp:Label ID="Label23" runat="server" CssClass="letraNegra13" Text="MLS #"></asp:Label></td><td><asp:TextBox ID="txmls" runat="server" CssClass="txtForm" Width="128px"></asp:TextBox></td>
        <%} %>
    </tr>
    <tr>
        <% if ((RComps & 128) != 128){%>
        <td><asp:Label ID="Label22" runat="server" CssClass="letraNegra13" Text="Sale Type"></asp:Label></td><td><asp:DropDownList ID="cbsaletype" runat="server" CssClass="txtForm" Width="132px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>Standard</asp:ListItem><asp:ListItem>Short Sale</asp:ListItem><asp:ListItem>REO</asp:ListItem><asp:ListItem>Foredosure</asp:ListItem><asp:ListItem>Auction</asp:ListItem><asp:ListItem>Other</asp:ListItem></asp:DropDownList></td>
        <%} %>
        <% if ((RComps & 65536) != 65536){%>
        <td><asp:Label ID="Label24" runat="server" CssClass="letraNegra13" Text="Listing Price"></asp:Label></td><td><asp:TextBox ID="txsalesprice" runat="server" CssClass="txtForm" Width="128px"></asp:TextBox>&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator3" runat="server" ControlToValidate="txsalesprice" CssClass="letraRojaValidacion" ErrorMessage="*" ValidationExpression="(\$?\d{1,3}(,\d{3})*)*|(\D*)"></asp:RegularExpressionValidator></td>
        <%} %>
    </tr>
    <tr>
        <% if ((RComps & 256) != 256){%>
        <td><asp:Label ID="Label3" runat="server" class="letraNegra13" Text="Bed"></asp:Label></td><td><asp:DropDownList ID="cbbed" runat="server" class="txtForm" Width="132px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>1</asp:ListItem><asp:ListItem>2</asp:ListItem><asp:ListItem>3</asp:ListItem><asp:ListItem>4</asp:ListItem><asp:ListItem>5</asp:ListItem><asp:ListItem>6</asp:ListItem><asp:ListItem>7</asp:ListItem><asp:ListItem>8</asp:ListItem><asp:ListItem>9</asp:ListItem></asp:DropDownList></td>
        <%} %>
        <% if ((RComps & 131072) != 131072){%>
        <td><asp:Label ID="Label4" runat="server" class="letraNegra13" Text="Baths"></asp:Label></td><td><asp:DropDownList ID="cbbaths" runat="server" class="txtForm" Width="132px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>1</asp:ListItem><asp:ListItem>1.5</asp:ListItem><asp:ListItem>2</asp:ListItem><asp:ListItem>2.5</asp:ListItem><asp:ListItem>3</asp:ListItem><asp:ListItem Value="3.5">3.5</asp:ListItem><asp:ListItem>4</asp:ListItem><asp:ListItem>4.5</asp:ListItem><asp:ListItem>5</asp:ListItem><asp:ListItem>5.5</asp:ListItem><asp:ListItem>6</asp:ListItem><asp:ListItem>6.5</asp:ListItem><asp:ListItem>7</asp:ListItem><asp:ListItem>7.5</asp:ListItem><asp:ListItem>8</asp:ListItem></asp:DropDownList></td>
        <%} %>
    </tr>
    <tr>
        <% if ((RComps & 512) != 512){%>
        <td><asp:Label ID="Label5" runat="server" class="letraNegra13" Text="Sq.Ft"></asp:Label></td><td><asp:TextBox ID="txsqft" runat="server" class="txtForm" Width="128px"></asp:TextBox></td>
        <%} %>
        <% if ((RComps & 262144) != 262144){%>
        <td><asp:Label ID="Label6" runat="server" class="letraNegra13" Text="Lot (Ft)"></asp:Label></td><td><asp:TextBox ID="txlot" runat="server" class="txtForm" Width="128px"></asp:TextBox></td>
        <%} %>
    </tr>
    <tr>
        <% if ((RComps & 1024) != 1024){%>
        <td><asp:Label ID="Label7" runat="server" class="letraNegra13" Text="Built"></asp:Label></td><td><asp:TextBox ID="txbuilt" runat="server" class="txtForm" Width="128px"></asp:TextBox></td>
        <%} %>
        <% if ((RComps & 524288) != 524288){%>
        <td><asp:Label ID="Label8" runat="server" class="letraNegra13" Text="Type"></asp:Label></td><td><asp:DropDownList ID="cbtype" runat="server" class="txtForm" Width="132px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem Value="SFR-D">SFR-D</asp:ListItem><asp:ListItem Value="SFR-A">SFR-A</asp:ListItem><asp:ListItem Value="Condo">Condo</asp:ListItem><asp:ListItem Value="Low Rise">Low Rise</asp:ListItem>
        <asp:ListItem>Mid-Rise</asp:ListItem>
        <asp:ListItem Value="High Rise">High Rise</asp:ListItem><asp:ListItem Value="Multi Family">Multi Family</asp:ListItem><asp:ListItem>Manufactured</asp:ListItem><asp:ListItem Value="Lot">Lot</asp:ListItem><asp:ListItem>Mobile</asp:ListItem>
        <asp:ListItem>PUD</asp:ListItem>
        </asp:DropDownList></td>
        <%} %>
    </tr>
    <tr>
        <% if ((RComps & 2048) != 2048){%>
        <td><asp:Label ID="Label9" runat="server" class="letraNegra13" Text="Units"></asp:Label></td><td><asp:DropDownList ID="cbunits" runat="server" class="txtForm" Width="132px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>1</asp:ListItem><asp:ListItem>2</asp:ListItem><asp:ListItem>3</asp:ListItem><asp:ListItem>4</asp:ListItem>
        <asp:ListItem>5</asp:ListItem>
        <asp:ListItem>6</asp:ListItem>
        </asp:DropDownList></td>
        <%} %>
        <% if ((RComps & 1048576) != 1048576){%>
        <td><asp:Label ID="Label10" runat="server" class="letraNegra13" Text="Stories"></asp:Label></td><td><asp:DropDownList ID="cbstories" runat="server" class="txtForm" Width="132px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>1</asp:ListItem><asp:ListItem>2</asp:ListItem><asp:ListItem>3</asp:ListItem><asp:ListItem>4</asp:ListItem></asp:DropDownList></td>
        <%} %>
    </tr>
    <% if ((RComps & 4096) != 4096){%>
    <tr><td><asp:Label ID="Label11" runat="server" class="letraNegra13" Text="Data"></asp:Label></td><td><asp:DropDownList ID="cbdata" runat="server" class="txtForm" Width="132px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem Value="MLS">MLS</asp:ListItem><asp:ListItem Value="Tax Records">Tax Records</asp:ListItem><asp:ListItem Value="Clients Records">Clients Records</asp:ListItem><asp:ListItem Value="Estimate">Estimate</asp:ListItem><asp:ListItem Value="Other">Other</asp:ListItem></asp:DropDownList></td><td>&nbsp;</td><td><span ID="Span3" runat="server"></span><br /></td><td>&nbsp;</td></tr>
    <%} %>
    <% if ((RComps & 8192) != 8192){%>
    <tr><td><asp:Label ID="Label12" runat="server" class="letraNegra13" Text="Document"></asp:Label></td><td colspan="3"><a name="TAGFILE" shape="circle"><asp:FileUpload ID="File1" runat="server" CssClass="txtForm" Width="215px" /></a><asp:ImageButton ID="pdfdocument1" runat="server" Height="20px" ImageUrl="~/img/pdficon.gif" /></td><td>&nbsp;</td></tr>
    <%} %>
    <tr><td>
        <asp:Label ID="Label55" runat="server" class="letraNegra13" 
            Text="MLS"></asp:Label></td><td colspan="3"><a name="TAGFILE" shape="circle">
            <asp:FileUpload ID="File5" runat="server" CssClass="txtForm" Width="215px" /></a>
            <asp:ImageButton ID="pdfdocument5" runat="server" 
                Height="20px" ImageUrl="~/img/pdficon.gif" /></td><td>&nbsp;</td></tr>
    <% if ((RComps & 16384) != 16384){%>
    <tr><td class="letraNegra13"><asp:Label ID="Revcomps" runat="server" CssClass="letraNegra13" Text="Revisions Completed" Visible="False"></asp:Label></td><td colspan="3"><asp:DropDownList ID="cb_revcompleted" runat="server" CssClass="txtForm" Width="132px" Visible="False"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td><td>&nbsp;</td></tr>
    <%} %>
<%} %>
</table></td><!-- FIN TABLA 1 -->

<td valign="top"><!-- INICIO TABLA2 --><table border="0" cellpadding="0" class="style19" width="500">
<% if ((RComps & 68719476736) != 68719476736){%>
    <tr><td align="left" bgcolor="#FA7E02" class="letrabold" colspan="4" style="text-align:left">Valuation</td></tr>
    <tr>
        <% if ((RComps & 4194304) != 4194304){%>
        <td class="letraNegra13">As Is Value</td><td><asp:TextBox ID="asisValue" runat="server" CssClass="txtForm" Width="128px"></asp:TextBox>&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator1" runat="server" ControlToValidate="asisValue" CssClass="letraRojaValidacion" ErrorMessage="*" ValidationExpression="(\$?\d{1,3}(,\d{3})*)*|(\D*)"></asp:RegularExpressionValidator></td>
        <%} %>
        <% if ((RComps & 16777216) != 16777216){%>
        <td class="letraNegra13">Repaired Value</td><td><asp:TextBox ID="repair" runat="server" CssClass="txtForm" Width="128px"></asp:TextBox>&nbsp;<asp:RegularExpressionValidator ID="RegularExpressionValidator2" runat="server" ControlToValidate="repair" CssClass="letraRojaValidacion" ErrorMessage="*" ValidationExpression="(\$?\d{1,3}(,\d{3})*)*|(\D*)"></asp:RegularExpressionValidator></td>
        <%} %>
    </tr>
    <% if ((RComps & 8388608) != 8388608){%>
    <tr><td class="letraNegra13">Effective Date</td><td><asp:TextBox ID="efectivedate" runat="server" CssClass="txtForm" Width="128px"></asp:TextBox><asp:CalendarExtender ID="CalendarExtender3" runat="server" Enabled="True" TargetControlID="efectivedate"></asp:CalendarExtender></td><td class="style40">&nbsp;&nbsp;</td><td>&nbsp;</td></tr>
    <%} %>
    <tr><td colspan="4" height="6px"></td></tr>
<%} %>
<% if ((RComps & 274877906944) != 274877906944){%>
    <tr><td align="left" bgcolor="#FA7E02" class="letrabold" colspan="4" style="text-align:left">Comparables<% if ((RComps & 1099511627776) != 1099511627776){%><asp:LinkButton ID="lnk_copycom" runat="server" CssClass="button_archive" onclick="lnk_copycom_Click">Copy</asp:LinkButton><%} %></td></tr>
    <tr>
        <% if ((RComps & 33554432) != 33554432){%>
        <td><asp:Label ID="Label13" runat="server" class="letraNegra13" Text="Sale 1"></asp:Label></td><td><asp:TextBox ID="txsale1" runat="server" class="txtForm" TabIndex="1" Width="128px"></asp:TextBox></td>
        <%} %>
        <% if ((RComps & 268435456) != 268435456){%>
        <td><asp:Label ID="Label14" runat="server" class="letraNegra13" Text="Listing 1"></asp:Label></td><td><asp:TextBox ID="txlisting1" runat="server" class="txtForm" TabIndex="4" Width="128px"></asp:TextBox></td>
        <%} %>
    </tr>
    <tr>
        <% if ((RComps & 67108864) != 67108864){%>
        <td><asp:Label ID="Label15" runat="server" class="letraNegra13" Text="Sale 2"></asp:Label></td><td><asp:TextBox ID="txsale2" runat="server" class="txtForm" TabIndex="2" Width="128px"></asp:TextBox></td>
        <%} %>
        <% if ((RComps & 536870912) != 536870912){%>
        <td><asp:Label ID="Label16" runat="server" class="letraNegra13" Text="Listing 2"></asp:Label></td><td><asp:TextBox ID="txlisting2" runat="server" class="txtForm" TabIndex="5" Width="128px"></asp:TextBox></td>
        <%} %>
    </tr>
    <tr>
        <% if ((RComps & 134217728) != 134217728){%>
        <td><asp:Label ID="Label17" runat="server" class="letraNegra13" Text="Sale 3"></asp:Label></td><td><asp:TextBox ID="txsale3" runat="server" class="txtForm" TabIndex="3" Width="128px"></asp:TextBox></td>
        <%} %>
        <% if ((RComps & 1073741824) != 1073741824){%>
        <td><asp:Label ID="Label18" runat="server" class="letraNegra13" Text="Listing 3"></asp:Label></td><td><asp:TextBox ID="txlisting3" runat="server" class="txtForm" TabIndex="6" Width="128px"></asp:TextBox></td>
        <%} %>
    </tr>
    <% if ((RComps & 2147483648) != 2147483648){%>
    <tr>
        <td><asp:Label ID="Label19" runat="server" CssClass="letraNegra13" Text="Documents"></asp:Label></td>
        <td colspan="3"><asp:FileUpload ID="File2" runat="server" CssClass="txtForm" Width="228px"></asp:FileUpload><asp:ImageButton ID="pdfdocument2" runat="server" Height="20px" ImageUrl="~/img/pdficon.gif" Visible="False"></asp:ImageButton></td>
    </tr>
    <%} %>
    <% if ((RComps & 2199023255552) != 2199023255552) {%>
    <tr>
        <td></td>
        <td colspan="3"><asp:FileUpload ID="File4" runat="server" CssClass="txtForm" Width="228px"></asp:FileUpload><asp:ImageButton ID="pdfdocument4" runat="server" Height="20px" ImageUrl="~/img/pdficon.gif" Visible="False"></asp:ImageButton></td>
    </tr>
    <%} %>
    <% if ((RComps & 4294967296) != 4294967296){%>
    <tr><td valign="top"><asp:Label ID="Label25" runat="server" CssClass="letraNegra13" Text="Processor Comments"></asp:Label></td><td colspan="3"><asp:TextBox ID="txcomments" runat="server" CssClass="txtForm" Height="70px" TextMode="MultiLine" Width="90%" MaxLength="2990" Font-Size="Small"></asp:TextBox></td></tr>
    <%} %>
    <% if ((RComps & 8589934592) != 8589934592){%>                                    
    <tr><td valign="top"><asp:Label ID="Label53" runat="server" CssClass="letraNegra13" Text="Quality Comments"></asp:Label></td><td colspan="3"><asp:TextBox ID="txtcomquality" runat="server" CssClass="txtForm" Height="70px" TextMode="MultiLine" Width="90%" MaxLength="2990" Enabled="False" Font-Size="Small"></asp:TextBox></td></tr>
    <%} %>
<%} %>
</table></td><!-- FIN TABLA 2 --></tr>
<% if ((RComps & 17179869184) != 17179869184){%>
<tr><td colspan="2" align="center"><table border="0" cellpadding="0"><tr align="center"><td align="center"><asp:LinkButton ID="lnk_save_comps" runat="server" CssClass="button_save" ForeColor="White" onclick="lnk_save_comps_Click"><span>Save</span></asp:LinkButton></td></tr></table></td></tr>
<%} %>
<% if ((RComps & 16) != 16){%><tr><td align="left" colspan="2"><asp:Panel ID="PHistoryComps" runat="server"></asp:Panel></td></tr><%} %>

<!-- FIN TABLA PRINCIPAL --></table>
</ContentTemplate>

</asp:TabPanel>





<asp:TabPanel ID="TabPanel4" runat="server" HeaderText="QC/Submit" meta:resourcekey="TabPanel4Resource1">

                             
    <HeaderTemplate>
QC/Submit
</HeaderTemplate>

            


<ContentTemplate>
<table cellpadding="2" cellspacing="0" align="center" width="1080px">
    <tr>
        <!-- INICIO TABLA PRINCIPAL -->
        <% if ((RQCSub & 536870912) != 536870912){%>
        <td valign="top">
            <table border="0" cellpadding="0" class="style19" width="550px">
                <!-- INICIO TABLA1 -->
                <tr><td align="left" bgcolor="#FA7E02" class="letrabold" colspan="3" style="text-align:left">Quality</td></tr>
                <tr>
                    <td colspan="3">
                        <% if ((RQCSub & 4398046511104) != 4398046511104){%>
                        <asp:Label ID="Label49" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                        <%} %>
                        <% if ((RQCSub & 2) != 2){%>
                        <asp:LinkButton ID="bt_editqcsub" runat="server" CssClass="button2_ok" ForeColor="White" OnClick="bt_editqcsub_Click"><span>Edit</span></asp:LinkButton>
                        <%} %>
                    </td>
                </tr>
                <% if ((RQCSub & 8) != 8){%>
                <tr>
                    <td><asp:Label ID="Label26" runat="server" CssClass="letraNegra13" Text="Quality Check"></asp:Label></td>
                    <td><asp:DropDownList ID="DropDownList9" runat="server" CssClass="txtForm" Height="20px" Width="145px"><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 16) != 16){%>
                <tr>
                    <td><asp:Label ID="Label27" runat="server" CssClass="letraNegra13" Text="Quality Agent"></asp:Label></td>
                    <td><asp:DropDownList ID="DropDownList10" runat="server" CssClass="txtForm" Width="145px"></asp:DropDownList></td>
                    <td></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 32) != 32){%>
                <tr>
                    <td><asp:Label ID="Label28" runat="server" CssClass="letraNegra13" Text="Date"></asp:Label></td>
                    <td><asp:TextBox ID="txqdate" runat="server" CssClass="txtForm" Enabled="False" Width="141px"></asp:TextBox></td>
                    <td></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 64) != 64){%>
                <tr>
                    <td><asp:Label ID="Label29" runat="server" CssClass="letraNegra13" Text="Time" Width="50px"></asp:Label></td>
                    <td><asp:TextBox ID="txqtime" runat="server" CssClass="txtForm" Enabled="False" Width="141px"></asp:TextBox></td>
                    <td><asp:Panel ID="Panel8" runat="server" Width="84px"></asp:Panel></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 128) != 128){%>
                <tr>
                    <td><asp:Label ID="Label36" runat="server" CssClass="letraNegra13" Text="1. Property currently listed?"></asp:Label></td>
                    <td><asp:DropDownList ID="cbq1" runat="server" CssClass="txtForm" Width="145px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem><asp:ListItem>Unknown</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 256) != 256){%>
                <tr>
                    <td><asp:Label ID="Label37" runat="server" CssClass="letraNegra13" Text="2. Are parameters met?"></asp:Label></td>
                    <td><asp:DropDownList ID="cbq2" runat="server" CssClass="txtForm" Width="145px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem><asp:ListItem>Unknown</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 512) != 512){%>
                <tr>
                    <td><asp:Label ID="Label38" runat="server" CssClass="letraNegra13" Text="3. Required docs uploaded?"></asp:Label></td>
                    <td><asp:DropDownList ID="cbq3" runat="server" CssClass="txtForm" Width="145px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem><asp:ListItem>Unknown</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 1024) != 1024){%>
                <tr>
                    <td><asp:Label ID="Label39" runat="server" CssClass="letraNegra13" Text="4. Adjustments and value correct?" Width="250px"></asp:Label></td>
                    <td><asp:DropDownList ID="cbq4" runat="server" CssClass="txtForm" Width="145px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem><asp:ListItem>Unknown</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 2048) != 2048){%>
                <tr>
                    <td><asp:Label ID="Label40" runat="server" CssClass="letraNegra13" Text="5. Comments verified?"></asp:Label></td>
                    <td><asp:DropDownList ID="cbq5" runat="server" CssClass="txtForm" Width="145px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem><asp:ListItem>Unknown</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 4096) != 4096){%>
                <tr>
                    <td><asp:Label ID="Label41" runat="server" CssClass="letraNegra13" Text="6. Comparable price range:"></asp:Label></td>
                    <td>
                    <asp:Panel ID="Panel6" runat="server">
                        <table align="center" cellpadding="0" cellspacing="0" width="100%">
                            <tr>
                                <td align="left"><asp:TextBox ID="txq6int1" runat="server" CssClass="txtForm" Width="67px"></asp:TextBox></td>
                                <td><asp:TextBox ID="txq6int2" runat="server" CssClass="txtForm" Width="66px"></asp:TextBox></td>
                            </tr>
                        </table>
                    </asp:Panel>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 8192) != 8192){%>
                <tr>
                    <td><asp:Label ID="Label42" runat="server" CssClass="letraNegra13" Text="7. How many error 1 was found?"></asp:Label></td>
                    <td>
                        <asp:DropDownList ID="cbq7" runat="server" CssClass="txtForm" Width="145px">
                            <asp:ListItem>Select One</asp:ListItem>
                            <asp:ListItem>0</asp:ListItem>
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem Value="6"></asp:ListItem>
                            <asp:ListItem Value="7"></asp:ListItem>
                            <asp:ListItem Value="8"></asp:ListItem>
                            <asp:ListItem Value="9"></asp:ListItem>
                            <asp:ListItem Value="10"></asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 16384) != 16384){%>
                <tr>
                    <td><asp:Label ID="Label43" runat="server" CssClass="letraNegra13" Text="8. How many error 2 was found?"></asp:Label></td>
                    <td>
                        <asp:DropDownList ID="cbq8" runat="server" CssClass="txtForm" 
                            OnSelectedIndexChanged="cbq8_SelectedIndexChanged" Width="145px">
                            <asp:ListItem>Select One</asp:ListItem>
                            <asp:ListItem>0</asp:ListItem>
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 32768) != 32768){%>
                <tr>
                    <td><asp:Label ID="Label45" runat="server" CssClass="letraNegra13" Text="9. How many error 3 was found?"></asp:Label></td>
                    <td>
                        <asp:DropDownList ID="cbq9" runat="server" CssClass="txtForm" Width="145px">
                            <asp:ListItem>Select One</asp:ListItem>
                            <asp:ListItem>0</asp:ListItem>
                            <asp:ListItem>1</asp:ListItem>
                            <asp:ListItem>2</asp:ListItem>
                            <asp:ListItem>3</asp:ListItem>
                            <asp:ListItem>4</asp:ListItem>
                            <asp:ListItem>5</asp:ListItem>
                            <asp:ListItem>6</asp:ListItem>
                            <asp:ListItem>7</asp:ListItem>
                            <asp:ListItem>8</asp:ListItem>
                            <asp:ListItem>9</asp:ListItem>
                            <asp:ListItem>10</asp:ListItem>
                        </asp:DropDownList>
                    </td>
                    <td></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 65536) != 65536){%>
                <tr>
                    <td class="letraNegra13">10. Processor Revisions Needed?</td>
                    <td><asp:DropDownList ID="cbq10" runat="server" CssClass="txtForm" Width="145px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                    <td align="right"><% if ((RQCSub & 4) != 4){%><asp:LinkButton ID="lnk_rev" runat="server" CssClass="letraNegra13" ForeColor="Blue" onclick="lnk_rev_Click" Visible="False">Revisions</asp:LinkButton><%} %></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 131072) != 131072){%>
                <tr>
                    <td class="letraNegra13"><asp:Label ID="Revsub" runat="server" CssClass="letraNegra13" Text="11. Revisions Verified?" Visible="False"></asp:Label></td>
                    <td><asp:DropDownList ID="cb_revchk" runat="server" CssClass="txtForm" Visible="False" Width="145px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 262144) != 262144){%>
                <tr>
                    <td class="letraNegra13"><asp:Panel ID="prevby1" runat="server" Visible="False"><asp:Label ID="revby" runat="server" CssClass="letraNegra13" Text="Revisions by"></asp:Label></asp:Panel></td>
                    <td><asp:Panel ID="prevby2" runat="server" Visible="False"><asp:TextBox ID="txrevby" runat="server" CssClass="txtForm" Enabled="False" Width="141px"></asp:TextBox></asp:Panel></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="letraNegra13"><asp:Panel ID="prevdate1" runat="server" Visible="False"><asp:Label ID="revdate" runat="server" CssClass="letraNegra13" Text="Date Revisions"></asp:Label></asp:Panel></td>
                    <td><asp:Panel ID="prevdate2" runat="server" Visible="False"><asp:TextBox ID="txrevdate" runat="server" CssClass="txtForm" Enabled="False" Width="141px"></asp:TextBox></asp:Panel></td>
                    <td>&nbsp;</td>
                </tr>
                <tr>
                    <td class="letraNegra13"><asp:Panel ID="prevtime1" runat="server" Visible="False"><asp:Label ID="revtime" runat="server" CssClass="letraNegra13" Text="Time revisions"></asp:Label></asp:Panel></td>
                    <td><asp:Panel ID="prevtime2" runat="server" Visible="False"><asp:TextBox ID="txrevtime" runat="server" CssClass="txtForm" Enabled="False" Width="141px"></asp:TextBox></asp:Panel></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 1048576) != 1048576){%>
                <%} %>
                <tr><td colspan="3">&nbsp;</td></tr>
            </table>
        </td>
        <%} %>
        <!-- FIN TABLA1 -->
        <td valign="top" width="580px">
            <!-- INICIO TABLA 2 -->
            <table border="0" cellpadding="0" class="style19" width="100%">
                <% if ((RQCSub & 2147483648) != 2147483648){%>
                <tr>
                    <td align="left" bgcolor="#FA7E02" class="letrabold" colspan="3" style="text-align:left"  width="580px">Submission</td>
                </tr>
                <tr>
                    <td colspan="3">
                        <% if ((RQCSub & 8796093022208) != 8796093022208){%>
                        <asp:Label ID="Label50" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                        <%} %>
                        <asp:LinkButton ID="lnk_editsub" runat="server" CssClass="button2_ok" ForeColor="White" Visible="False"><span>Edit</span></asp:LinkButton>
                    </td>
                </tr>
                <% if ((RQCSub & 524288) != 524288){%>
                <tr>
                    <td><asp:Label ID="Label30" runat="server" CssClass="letraNegra13" Text="Submitted"></asp:Label></td>
                    <td><asp:DropDownList ID="DropDownList11" runat="server" CssClass="txtForm" Width="145px"><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList></td>
                    <td>&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 33554432) != 33554432){%>
                <tr>
                    <td><asp:Label ID="Label31" runat="server" CssClass="letraNegra13" Text="Submitted By"></asp:Label></td>
                    <td><asp:DropDownList ID="DropDownList12" runat="server" CssClass="txtForm" Width="145px"></asp:DropDownList></td>
                    <td></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 67108864) != 67108864){%>
                <tr>
                    <td><asp:Label ID="Label32" runat="server" CssClass="letraNegra13" Text="Date"></asp:Label></td>
                    <td><asp:TextBox ID="txsubdate" runat="server" CssClass="txtForm" Enabled="False" Width="141px"></asp:TextBox></td>
                    <td></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 134217728) != 134217728){%>
                <tr>
                    <td><asp:Label ID="Label33" runat="server" CssClass="letraNegra13" Text="Time"></asp:Label></td>
                    <td><asp:TextBox ID="txsubtime" runat="server" CssClass="txtForm" Enabled="False" Width="141px"></asp:TextBox></td>
                    <td></td>
                </tr>
                <%} %>
                <% if ((RQCSub & 268435456) != 268435456){%>
                <tr>
                    <td><asp:Label ID="Label52" runat="server" CssClass="letraNegra13" Text="Submission Snapshot"></asp:Label></td>
                    <td><asp:FileUpload ID="File3" runat="server" CssClass="txtForm" Width="228px"></asp:FileUpload><asp:ImageButton ID="pdfdocument3" runat="server" Height="20px" ImageUrl="~/img/pdficon.gif" Visible="False"></asp:ImageButton></td>
                    <td></td>
                </tr>
                <%} %>
                <tr>
                    <td colspan="3" height="16px"><asp:Panel ID="Panel10" runat="server" Visible="False">
                        <% if ((RQCSub & 8796093022208) != 8796093022208){%>
                        <asp:Label ID="lsubmit" runat="server" CssClass="letraRojaValidacion"></asp:Label>
                        <%} %>
                    </asp:Panel></td>
                </tr>
                <tr>
                    <td colspan="3" height="16px">&nbsp;</td>
                </tr>
                <%} %>
                <% if ((RQCSub & 1073741824) != 1073741824){%>
                <tr>
                    <td align="left" colspan="3" width="580px">
                        <asp:Panel ID="Panel7" runat="server" Width="100%">
                            <table border="0" cellpadding="0" cellspacing="0" width="580px">
                                <tr>
                                    <td align="left" bgcolor="#FA7E02" class="letrabold" colspan="3" 
                                        style="text-align:left">
                                        Failed Information</td>
                                </tr>
                            </table>
                            <table border="0" cellpadding="0" cellspacing="1" width="580px">
                                <tr bgcolor="#9AC9F8" class="letrabold">
                                    <% if ((RQCSub & 4294967296) != 4294967296){%>
                                    <td align="left" class="letrabold" style="text-align:left">Failed</td>
                                    <%} %>
                                    <% if ((RQCSub & 68719476736) != 68719476736){%>
                                    <td align="left" class="letrabold" style="text-align:left">
                                        <asp:Label ID="Label34" runat="server" CssClass="letrabold" Text="Reason"></asp:Label>
                                        <% if ((RQCSub & 17592186044416) != 17592186044416){%>
                                        <asp:Label ID="Label35" runat="server" CssClass="letraRojaValidacion" Text="Label" Visible="False"></asp:Label>&#160;
                                        <asp:Label ID="Label46" runat="server" CssClass="letraRojaValidacion" Text="Label" Visible="False"></asp:Label>&#160;
                                        <asp:Label ID="Label47" runat="server" CssClass="letraRojaValidacion" Text="Label" Visible="False"></asp:Label>
                                        <%} %>
                                    </td>
                                    <%} %>
                                </tr>
                                <tr>
                                    <td colspan="2">
                                        <table class="style19">
                                            <tr>
                                                <% if ((RQCSub & 4294967296) != 4294967296){%>
                                                <td>
                                                    <asp:DropDownList ID="cbfailedsub" runat="server" CssClass="txtForm" Height="20px" OnSelectedIndexChanged="DropDownList44_SelectedIndexChanged" Width="85px"><asp:ListItem>Select One</asp:ListItem><asp:ListItem>Yes</asp:ListItem><asp:ListItem>No</asp:ListItem></asp:DropDownList>
                                                </td>
                                                <%} %>
                                                <% if ((RQCSub & 68719476736) != 68719476736){%>
                                                <td><asp:DropDownList ID="cbreasonsub" runat="server" CssClass="txtForm" Height="20px" OnSelectedIndexChanged="cbreasonsub_SelectedIndexChanged" Width="150px"></asp:DropDownList></td>
                                                <%} %>
                                                <% if ((RQCSub & 17179869184) != 17179869184){%>
                                                <td><asp:LinkButton ID="lnk_add_qcsub" runat="server" CssClass="button2_ok" ForeColor="White" OnClick="lnk_add_qcsub_Click"><span>Add</span></asp:LinkButton></td>
                                                <%} %>
                                                <% if ((RQCSub & 34359738368) != 34359738368){%>
                                                <td><asp:LinkButton ID="lnk_set_qcsub" runat="server" CssClass="button2_ok" ForeColor="White" OnClick="lnk_setfail"><span>Set </span></asp:LinkButton></td>
                                                <%} %>
                                            </tr>
                                        </table>
                                    </td>
                                </tr>
                                <tr>
                                    <td align="left" colspan="2">
                                        <asp:Panel ID="Panel4" runat="server">
                                            <table cellpadding="2" cellspacing="2" class="letraNegra13" width="100%">
                                                <tr>
                                                    <% if ((RQCSub & 68719476736) != 68719476736){%>
                                                    <td style="text-align:left">Reason</td>
                                                    <%} %>
                                                    <% if ((RQCSub & 137438953472) != 137438953472){%>
                                                    <td style="text-align: left"><asp:Label ID="Label48" runat="server" Text="New Agent"></asp:Label></td>
                                                    <%} %>
                                                    <% if ((RQCSub & 274877906944) != 274877906944){%>
                                                    <td class="style63">Completed</td>
                                                    <%} %>
                                                    <% if ((RQCSub & 549755813888) != 549755813888){%>
                                                    <td class="style63">QC</td>
                                                    <%} %>
                                                    <% if ((RQCSub & 1099511627776) != 1099511627776){%>
                                                    <td style="text-align: left">Resubmitted</td>
                                                    <%} %>
                                                </tr>
                                                <tr>
                                                    <% if ((RQCSub & 68719476736) != 68719476736){%>
                                                    <td style="text-align: left"><asp:TextBox ID="txreasonsub" runat="server" CssClass="txtForm" Height="18px" Width="106px"></asp:TextBox></td>
                                                    <%} %>
                                                    <% if ((RQCSub & 137438953472) != 137438953472){%>
                                                    <td style="text-align: left"><asp:DropDownList ID="cbnewagentsub" runat="server" CssClass="txtForm" Height="22px" Width="120px"></asp:DropDownList></td>
                                                    <%} %>
                                                    <% if ((RQCSub & 274877906944) != 274877906944){%>
                                                    <td style="text-align: left">
                                                        <asp:DropDownList ID="cbcompletedsub" runat="server" CssClass="txtForm" Height="22px" Width="65px"><asp:ListItem>No</asp:ListItem><asp:ListItem>Yes</asp:ListItem></asp:DropDownList>
                                                    </td>
                                                    <%} %>
                                                    <% if ((RQCSub & 549755813888) != 549755813888){%>
                                                    <td style="text-align: left"><asp:DropDownList ID="cbqcsub" runat="server" CssClass="txtForm" Height="22px" Width="116px"></asp:DropDownList></td>
                                                    <%} %>
                                                    <% if ((RQCSub & 1099511627776) != 1099511627776){%>
                                                    <td align="left"><asp:DropDownList ID="cbresub" runat="server" CssClass="txtForm" Height="22px" Width="120px"></asp:DropDownList></td>
                                                    <%} %>
                                                </tr>
                                                <% if ((RQCSub & 2199023255552) != 2199023255552){%>
                                                <tr>
                                                    <td colspan="5" style="text-align: left" valign="top">Comments &#160;<asp:TextBox ID="txcommentsub" runat="server" CssClass="txtForm" Height="70px" TextMode="MultiLine" Width="89%" MaxLength="2990"></asp:TextBox>&#160;&#160;</td>
                                                </tr>
                                                <%} %>
                                            </table>
                                        </asp:Panel>
                                    </td>
                                </tr>
                            </table>
                        </asp:Panel>
                    </td>
                </tr>
                <%} %>
                <tr>
                    <td align="right" colspan="3">
                        &nbsp;</td>
                </tr>
            </table>
        </td>
        <!-- FIN TABLA 2 -->
    </tr>
    <tr>
        <td>
            &nbsp;</td>
    </tr>
    <% if (((RQCSub & 2097152) != 2097152) && ((RQCSub & 4194304) != 4194304)){%>
    <tr>
        <td colspan="2">
        <asp:Panel ID="Panel11" runat="server">
            <table align="center" cellpadding="0" cellspacing="0" width="100%">
            <% if ((RQCSub & 2097152) != 2097152){%>
            <tr>
                <td style=" width:150px" valign="top"><asp:Label ID="Label44" runat="server" CssClass="letraNegra13" Text="Quality Comments"></asp:Label></td>
                <td><asp:TextBox ID="txcomsu" runat="server" Height="50px" MaxLength="2990" TextMode="MultiLine" Width="95%" CssClass="txtForm" Font-Size="Small"></asp:TextBox></td>
            </tr>
            <%} %>
            <% if ((RQCSub & 4194304) != 4194304){%>
            <tr>
                <td style="width:150px"  valign="top"><asp:Label ID="Label54" runat="server" CssClass="letraNegra13" Text="Processor Comments"></asp:Label></td>
                <td><asp:TextBox ID="txcomprosu" runat="server" Enabled="False" Height="50px" MaxLength="2990" TextMode="MultiLine" Width="95%" CssClass="txtForm" Font-Size="Small"></asp:TextBox></td>
            </tr>
            <%} %>
            </table>
        </asp:Panel>
        </td>
    </tr>
    <%} %>
    <tr>
        <td align="center" colspan="2">
            <table cellpadding="0" cellspacing="0">
                <tr>
                    <td align="center">
                        <% if ((RQCSub & 16777216) != 16777216){%>
                        <asp:LinkButton ID="lnk_saveclose_qcsub" runat="server" CssClass="button2_ok" ForeColor="White" OnClick="lnk_saveclose_qcsub_Click"><span>Save and Close</span></asp:LinkButton>
                        <%} %>
                        <% if ((RQCSub & 8388608) != 8388608){%>
                        <asp:LinkButton ID="lnk_save_qcsub" runat="server" CssClass="button_save" ForeColor="White" OnClick="lnk_save_qcsub_Click"><span>Save</span></asp:LinkButton>
                        <%} %>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table><!-- CIERRE DE TABLA PRINCIPAL CONTENEDORA -->

</ContentTemplate>

</asp:TabPanel>



                                </asp:TabContainer>
                                
                            </td>
                        </tr>
                        <tr align="center">
                            <td class="style24">&nbsp;</td> 
                        </tr>
                       
                        <tr align="center">
                            <td class="style24">
            <asp:Panel runat="server" CssClass="popup" Width="700px" ID="popupold">
                <table width="700" cellpadding="0" cellspacing="0" align="center">
                    <tr >
                        <td bgcolor="Black" colspan="2" style="color: #FFFFFF; font-size: medium;">
                            Orders Match</td>
                       
                    </tr>
                    <tr>
                        <td style="text-align: center" width="34%">
                            &nbsp;</td>
                        <td style="text-align: center" width="33%">
                            &nbsp;</td>
                    </tr>
                    <tr>
                        <td style="text-align: center" width="34%">
                            Perfect Match</td>
                        <td style="text-align: center" width="33%">
                            Similar</td>
                    </tr>
                    <tr>
                        <td style="text-align: center" width="34%">
                            <asp:Image runat="server" ImageUrl="~/img/star1.gif" Width="20px" ID="Image3"></asp:Image>

                            <asp:Image runat="server" ImageUrl="~/img/star1.gif" Width="30px" ID="Image1"></asp:Image>

                            <asp:Image runat="server" ImageUrl="~/img/star1.gif" Width="20px" ID="Image4"></asp:Image>

                        </td>
                        <td style="text-align: center" width="33%">
                            <asp:Image runat="server" ImageUrl="~/img/star1.gif" Width="20px" ID="Image10"></asp:Image>

                        </td>
                    </tr>
                    <tr>
                        <td style="text-align: center">
                            &nbsp;</td>
                        <td style="text-align: center">
                            &nbsp;</td>
                    </tr>
                    <tr align="center">
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr align="center">
                        <td style="text-align: left">
                            &nbsp;&nbsp;&nbsp;&nbsp;
                            <asp:Label runat="server" Font-Size="8pt" ID="lb_perfect"></asp:Label>

                        </td>
                        <td style="text-align: left">
                            &nbsp;&nbsp;&nbsp;
                            <asp:Label runat="server" Font-Size="8pt" ForeColor="#6699FF" ID="lb_similar"></asp:Label>

                        </td>
                    </tr>
                    <tr align="center">
                        <td>
                            &nbsp;</td>
                        <td>
                            &nbsp;</td>
                    </tr>
                    <tr align="center">
                        <td colspan="2" align="center">
                            <asp:LinkButton runat="server" CssClass="button_save" ForeColor="White" 
                                ID="bt_popcancel"><span>Cancel</span></asp:LinkButton>

                            &nbsp;</td>
                    </tr>
                </table>
            </asp:Panel>

                            </td> 
                        </tr>
                       
</table>



</asp:Content>


<asp:Content ID="Content2" runat="server" contentplaceholderid="head">
    <style type="text/css">
        .style19
        {
            width: 100%;
        }
        .style20
        {
            width: 138px;
        }
        .style24
        {            margin-left: 40px;
            text-align: left;
        }
        
        .style29
        {
            width: 96px;
            height: 27px;
        }
        .style34
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            width: 19px;
        }
        .style38
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            width: 88px;
            vertical-align:middle;
        }
        .style41
        {
            width: 1000px;
        }
        .style42
        {
            width: 68px;
        }
        .style45
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 14px;
            text-decoration: none;
            }
        .style57
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 14px;
            text-decoration: none;
            }
        .style58
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 14px;
            text-decoration: none;
            width: 137px;
            height: 24px;
        }
        .style59
        {
            width: 359px;
            height: 24px;
        }
        .style60
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            height: 27px;
        }
        .style61
        {
            height: 27px;
        }
        .txtForm2
        {
        	border: 1px Solid #FA7E02;	
	        text-align: left;       
	 	    color:#000000;
		    font-style:normal;
		    font-family:Arial Narrow;	                    
            font-size:13px;
            text-decoration:none;
        }
        .style62
        {
            /*font-family:MS Reference Sans Serif;*/
	    font-family: Arial Narrow;
            font-weight: bold;
            font-size: 14px;
            color: #FFFFFF;
            font-style: normal;
            vertical-align: top;
            width: 108px;
        }
        .style63
        {
            text-align: left;
            font-family: Arial Narrow;
            font-weight: normal;
            font-size: 13px;
            color: #000000;
            font-style: normal;
        }
        .style40
        {
            width: 96px;
        }
        .stackedTabTitle
        {
            text-align: center;
        }
        .style64
        {
            width: 451px;
        }
        .style65
        {
            width: 162px;
        }
        .style66
        {
            width: 242px;
            text-align: center;
        }
        .style67
        {
            /*font-family:MS Reference Sans Serif;*/
	    font-family: Arial Narrow;
            font-weight: bold;
            font-size: 14px;
            color: #FFFFFF;
            font-style: normal;
            vertical-align: top;
            text-align: left;
            width: 166px;
        }
        .style69
        {
            width: 219px;
            text-align: center;
        }
        .style71
        {
            width: 202px;
            text-align: center;
        }
        .style73
        {
            color: Black;
            font-family: Arial Narrow;
            font-size: 13px;
            text-decoration: none;
            width: 96px;
        }
        </style>
       


    <script  type="text/javascript" >
        function checkTextAreaMaxLength(textBox, e, length) {



            var mLen = textBox["MaxLength"];
            if (null == mLen)
                mLen = length;

            var maxLength = parseInt(mLen);
            if (!checkSpecialKeys(e)) {
                if (textBox.value.length > maxLength - 1) {
                    if (window.event)//IE
                        e.returnValue = false;
                    else//Firefox
                        e.preventDefault();
                }
            }
        }
        function checkSpecialKeys(e) {
            if (e.keyCode != 8 && e.keyCode != 46 && e.keyCode != 37 && e.keyCode != 38 && e.keyCode != 39 && e.keyCode != 40)
                return false;
            else
                return true;
        }


        function PrepareBlank() {
            document.getElementById("form").target = "_blank";
        }

        if (window.opener != null) {
            window.opener.document.getElementById("form").target = "";
        }
 
    </script>






</asp:Content>






